package com.cc.micro.controller;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cc.micro.api.model.LoanInfo;
import com.cc.micro.api.vo.BaseInfo;
import com.cc.micro.api.vo.MultiProduct;
import com.cc.micro.common.web.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author CC
 * time 2023-07-02
 * description
 */
@RestController
@Api(tags = "平台信息接口")
@RequestMapping("/plat")
public class PlatInfoController extends BaseController{

    @ApiOperation("查询平台基本信息")
    @GetMapping("/info")
    public Result<BaseInfo> queryPlatBaseInfo(){
        BaseInfo baseInfo = platBaseInfoService.queryPlatBaseInfo();
        return Result.ok(baseInfo);
    }



}
